<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
	xmlns:ctg="http://www.crotouristguide.com/taglib"
	template="/templates/layout/columns_1.xhtml"
	xmlns:c="http://java.sun.com/jstl/core">

	<ui:define name="column1">
		<s:cache key="zupanija_column1_#{param.idZupanije}_#{currentLang}"
			region="pageFragments">
			<rich:panel id="desc" styleClass="no-border">
				<s:div styleClass="title">
					<h1><h:outputFormat value="#{messages['title.overview']}">
						<f:param
							value="#{messages[stringUtil.merge('title.zupanija.',param.idZupanije)]}" />
					</h:outputFormat></h1>
					<ui:include src="linkPanel.xhtml" />
				</s:div>
				<s:div styleClass="leftm">
					<ctg:croMap map="#{param.idZupanije}.png" />
				</s:div>

				<ctg:wikiPanel obj="#{zupanijaDetails}" length="800" />

				<br class="clearb" />
			</rich:panel>
			<rich:panel styleClass="no-border">
				<ctg:top />
			</rich:panel>
			<f:subview rendered="#{zupanijaDetails.latituda != null}">
				<rich:panel styleClass="no-border">
					<h2>#{messages['title.geo.location']}</h2>
					<ctg:pageGMaps />
				</rich:panel>
				<rich:panel styleClass="no-border">
					<ctg:googleAds width="468" height="60" slot="5912787764" />
				</rich:panel>
			</f:subview>
			<ctg:dogadjaji value="#{dogadjaji}"
				url="#{application.contextPath}/guides/dogadjaji/timeline.seam?idZupanije=#{param.idZupanije}" />
		</s:cache>
	</ui:define>
	<ui:define name="column2">
		<s:cache key="zupanija_column2_#{param.idZupanije}_#{currentLang}"
			region="pageFragments">
			<ctg:topMjesta />
		</s:cache>
	</ui:define>
	<ui:define name="tasks">
		<ctg:tasks />
	</ui:define>
</ui:composition>